using CriWare.CriTimeline.Mana;
using UnityEditor;
using UnityEngine;

namespace IQIGame.Onigao.GamePlay.Editors
{
    [CustomEditor(typeof(CriwareVideoClip))]
    public class CriwareVideoClipInspector : CriManaTimelineComponentEditor
    {
        public override void OnInspectorGUI()
        {
            CriwareVideoClip rTarget = (IQIGame.Onigao.GamePlay.CriwareVideoClip)this.target;
            rTarget.alpha = EditorGUILayout.CurveField("透明度曲线", rTarget.alpha);
            rTarget.videoPath = EditorGUILayout.TextField("视频名", rTarget.videoPath);
            base.OnInspectorGUI();
        }
    }
}